<?php

if (!defined('THINK_PATH')) exit();
if(file_exists(APP_ROOT_PATH.'system/config.php'))
$sys_config	=	require APP_ROOT_PATH.'system/config.php';
$array = array(
'TOKEN_ON'=>0,
'DEFAULT_THEME'=>'default',
'DEFAULT_LANG'=>'zh-cn',
'URL_MODEL'=>'0',
'TMPL_ACTION_ERROR'=>'Public:error',
'TMPL_ACTION_SUCCESS'=>'Public:success',
'PAGE_ROLLPAGE'=>5,
'PAGE_LISTROWS'=>30,
'APP_AUTOLOAD_PATH'=>'Think.Util.,@.COM.',
);
if(file_exists(APP_ROOT_PATH.'system/config.php'))
$config = array_merge($sys_config,$array);
else
$config = $array;
return $config;

?>